<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" template="/templates/ui.xhtml"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<ui:define name="content">
		<div class="feature bg7">
			<h1 class="title">User successfully added!</h1>
			<h:form>
			    <p:dataTable var="user" value="#{addSuccessBean.userList}">
			        <p:column>
			            <f:facet name="header">
			                    Last Name
			            </f:facet>
			            <h:outputText value="#{user.lastName}" />
			        </p:column>
			
			        <p:column>
			            <f:facet name="header">
			                    First Name
			            </f:facet>
			            <h:outputText value="#{user.firstName}" />
			        </p:column>
			
			        <p:column>
			            <f:facet name="header">
			                    Email Address
			            </f:facet>
			            <h:outputText value="#{user.email}" />
			        </p:column>
			
			    </p:dataTable>
			</h:form>
		
		</div>
	</ui:define>
</ui:composition>